import { post, download } from "../../../utils/request";

const messageList = data => post("mgt/message/list", data);

const exportExcel = data => download("mgt/export/messageRecord", data);

const getDepart = data => post("mgt/message/list/ownerDept", data);

export default { messageList, exportExcel, getDepart };
